package com.juzi.wopu.service;

import java.io.InputStream;
import java.util.List;

import com.juzi.wopu.domain.Employee;

public interface IEmployeeService extends IBaseService<Employee>{
	
	boolean findByUsername(String username);
	
	Employee findByLoginUser(String username,String password);
	
	InputStream imp(String[] heads,List<String[]> data) throws Exception;
	
	List<Employee> getBuyers();
	
	/**
	 * 修改密码
	 */
	void changePassword(Long id,String password);
}